# Define here the models for your scraped items
#
# See documentation in:
# https://docs.scrapy.org/en/latest/topics/items.html

import scrapy


# 数据模型（将抓取到的数据组装成一个对象）
class MovieItem(scrapy.Item):
    title = scrapy.Field()
    link = scrapy.Field()
    rating = scrapy.Field()
    quote = scrapy.Field()
    duration = scrapy.Field()
    # 保存数据对应的hash摘要（签名）
    digest = scrapy.Field()


class JingdongItem(scrapy.Item):
    name = scrapy.Field()
    price = scrapy.Field()
